package com.qtcm.nas.jhx.bendianpinglun.service.impl;

import com.qtcm.nas.jhx.bendianpinglun.dao.IYuyuedao;
import com.qtcm.nas.jhx.bendianpinglun.pojo.Reservation_form;
import com.qtcm.nas.jhx.bendianpinglun.service.IYuyueservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("yuyueservice")
@ComponentScan
public class Yuyueservice implements IYuyueservice {
//    @Autowired()
//    @Qualifier("yuyuedao")
    @Resource
    private IYuyuedao yuyuedao;
    @Override
    public int findcount() {
        return yuyuedao.findcount();
    }

    @Override
    public int findcount1() {
        return yuyuedao.findcount1();
    }

    @Override
    public List<Reservation_form> liang() {
        return yuyuedao.liang();
    }

    @Override
    public List<Reservation_form> nliang() {
        return yuyuedao.nliang();
    }

}